
package com.twb.auth.entity.twbUser;

import java.io.Serializable;

import org.apache.ibatis.type.JdbcType;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModelProperty;

/**
 * @ClassName: TwbUserPost
 * @Description: 用户岗位信息
 * 
 * @author 
 * @date 2022-10-07 21:11:36
 */
@TableName("twb_user_post")
public class TwbUserPost implements Serializable {
  private static final long serialVersionUID = 1L;
  
  /** 主键 */
  @TableId(value = "id", type = IdType.ASSIGN_UUID)
  @ApiModelProperty(value = "主键")
  private String id;
  
  /** 用户ID */
  @TableField(value = "user_id", jdbcType = JdbcType.VARCHAR)
  @ApiModelProperty(value = "用户ID")
  private String userId;
  
  /** 岗位ID */
  @TableField(value = "post_id", jdbcType = JdbcType.VARCHAR)
  @ApiModelProperty(value = "岗位ID")
  private String postId;
  
  /** 所属组织机构 */
  @TableField(value = "org_id", jdbcType = JdbcType.VARCHAR)
  @ApiModelProperty(value = "所属组织机构")
  private String orgId;
  
  
  
  /** 主键 */
  public String getId() {
    return id;
  }
  /** 主键 */
  public void setId(String id) {
    this.id = id;
  }
  
  /** 用户ID */
  public String getUserId() {
    return userId;
  }
  /** 用户ID */
  public void setUserId(String userId) {
    this.userId = userId;
  }
  
  /** 岗位ID */
  public String getPostId() {
    return postId;
  }
  /** 岗位ID */
  public void setPostId(String postId) {
    this.postId = postId;
  }
  
  /** 所属组织机构 */
  public String getOrgId() {
    return orgId;
  }
  /** 所属组织机构 */
  public void setOrgId(String orgId) {
    this.orgId = orgId;
  }
  
}
